package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.core.enums.OrderSysTagEnum;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.model.enums.NoSuppllyAuditEnum;
import com.weixing.mall.provider.model.enums.OrderAuditStateEnum;
import com.weixing.mall.provider.model.enums.OrderStateEnum;
import com.weixing.mall.provider.model.enums.ProductStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author wx
 * @Date 2019/11/26 17:56
 * @Version 1.0
 */
@Data
public class OutOfStockCancelOrderVo {
    private Long id;
    //订单编号
    private String orderSn;
    //下单时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    //订单金额
    private Double orderPrice;
    //下单类型
    private OrderTypeEnum orderType;
    //联系人
    private String contactUser;
    //联系人手机号
    private String contactPhone;
    //款号
    private String productSn;
    //sku描述
    private String productSkuDesp;
    //货品图片
    private String productImg;
    //商品图片
    private String img;
    //商品/货品名称
    private String productName;
    //代理商
    private String agentName;
    //经销商
    private String distributorName;
    //客服
    private String customerName;
    //活动
    private String actName;
    //会员名称
    private String memberName;
    //操作时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date operationTime;
    //订单变更时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;
    //订单审核时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
    private Long updatedBy;
    //断货订单审核操作人
    private String updatedByName;
    //商品id
    private Long goodsId;
    //断货订单审核时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date nosuppllyTime;
    //断货订单审核状态
    private NoSuppllyAuditEnum nosuppllyAudit;

    @ApiModelProperty(value = "支付流水号")
    private String outTradeNo;
    @ApiModelProperty(value = "货号")
    private String goodsSn;
    @ApiModelProperty(value = "款号")
    private String styleNo;
    @ApiModelProperty(value = "发货时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern ="yyyy-MM-dd HH:mm:ss")
    private String shipTime;
    @ApiModelProperty(value = "发货员")
    private String shipperName;
    @ApiModelProperty(value = "审核状态")
    private OrderAuditStateEnum auditStatus;
    @ApiModelProperty(value = "订单状态")
    private OrderStateEnum orderStatus;
    @ApiModelProperty(value = "订单状态")
    private ProductStatusEnum itemStatus;

    /**
     * 下单人
     */
    @ApiModelProperty(value = "下单人")
    private String buyer;

    /**
     * 系统标签
     */
    private OrderSysTagEnum sysTag;
    /**
     * 是否换货    1  是   0 不是
     */
    @ApiModelProperty(value = "是否换货")
    private Integer afterSaleTag;

    /**
     * 市场价
     */
    private BigDecimal marketPrice;
    @ApiModelProperty(value = "年份月份")
    private String nosuppllyTimeYm;
}
